//
//  KYCheckInSDK.m
//  KYCheckInSDK
//
//  Created by 罗新 on 2017/10/23.
//  Copyright © 2017年 KuaiYan  Co.,LTD. All rights reserved.
//

#import "KYSignSDK.h"
#import "KYServer.h"

@implementation KYSignSDK
+ (void)registWithAppkey:(NSString *)appkey{
    //存储appkey信息
    NSUserDefaults *userdefault = [NSUserDefaults standardUserDefaults];
    [userdefault setObject:appkey forKey:@"kyAppkey"];
    [userdefault synchronize];
    //0.根据ip请求经纬度坐标
    [KYServer requestAddressDataSuccess:nil failure:nil];
    //1.发送数据至服务器
//    [KYServer postUserDeviceInfoWithAppkey:appkey success:nil failure:nil];
}
@end
